<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        input[type="file"] {
            color:red;
            padding:20px;
        }

        .upload-container {
            position:relative;
            width:150px;
           
        }
        .upload-container p {
            
            width:100%;
            background-color: #00bfff;
            color:#fff;
            padding:10px 0;
            font-size: 12px;
            text-align: center;
        }
        .upload-container input {
            position:absolute;
            display: block;
            width:100%;
            height: 0;
            opacity:0;
            top:0;
            left:0;
        }
    </style>
</head>
<body>
    <input type="file" >
    <div class="upload-container">
        <p>上传文件</p>
        <input type="file" >
    </div>
</body>
</html>